package org.itboys.mobile.entity.mysql.wallet;


import org.itboys.mongodb.entity.BaseMySqlEntity;

import java.math.BigDecimal;


/**
 * 包名：com.hz.sunday.chint.dao
 * 作者 : 江雄
 * Email: empty90911@126.com
 * 时间：2015年9月7日 上午10:15:29
 * 圣代_钱包_充值码（贝壳）_实体
 *
 */
public class SundayWalletConch extends BaseMySqlEntity {

	//基础属性

    private String code;//充值码，32位随机码
    private BigDecimal amount;//对应金额
    private Integer status;//0未使用，1已使用

    private String mobile;//手机号，暂不使用
    private Long memberId;//充值用户ID
    private String openId;//微信openID
    public SundayWalletConch() {
    }

    public SundayWalletConch(String code, BigDecimal amount) {
        this.code = code;
        this.amount = amount;
        this.status=0;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }
}
